<div class="pagecontent">
	<?php include_partial('ipadProductPage/top') ?>
	<div class="centerboxtop"></div>
	<div class="centerboxmain">
		<div class="cboxmain">
			<div class="cboxmaincenter_tooted">
				<div class="tooteinfo">
					<div class="tooteinfoleft">
						<?php slot('product_main_data') ?>
						<h1><?php echo $product['name'] ?></h1>
						<h2><?php echo $product['quantity'] ?></h2>
						<p><?php echo $product['description'] ?></p>
						<div class="omadused">
							<?php foreach($defaultParameters as $name => $value): ?>
								<?php if(!$value)continue; ?>
								<p><b><?php echo $name ?></b>: <?php echo $value ?></p>
							<?php endforeach; ?>
						</div>
						<!--
						<div class="hinne">
							<div class="hinneleft">
								<p><b><?php echo __('Hinne') ?></b>:</p>
							</div>
							<div class="hinneright">
								<?php for($i = 0; $i < $product['rating_sum']/$product['rating_votes']; ++$i): ?>
									<img height="19" width="33" alt="" src="/kolonna/img/lips1.png">
								<?php endfor; ?>
								<div class="clear"></div>
							</div>
							<div class="clear"></div>
						</div>
						-->
						<?php end_slot() ?><?php include_slot('product_main_data') ?>
						<?php if($productPalettes): ?>
						<div class="lipssliderbox">
							<img style="width:240px;padding: 15px" src="<?php echo @myPicture::getInstance($productPalettes['file'])->resize(240,1000,true,true)->url() ?>" alt="" />
						</div>
						<?php endif; ?>
					</div>
					<div class="tooteinforight">
						<?php
							$pic = @myPicture::getInstance($productMainPicture['file'])->resize(430,500,true,true);
						?>
						<img alt="" src="<?php echo $pic->url() ?>">
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div class="cboxmainright">
				<?php include_partial('ipadProductPage/priceColumn', array('product' => $product)) ?>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>